<?php

use Illuminate\Database\Seeder;

use App\Models\User;
class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
	    for($i=0;$i<1000;$i++){
		    $name = 'leo_'.time().rand(1,2000);
		    $email = 'leo@qq_'.time().rand(1,2000).'.com';
		    User::create([
			    'name'=>$name,
			    'email'=>$email,
			    'password'=>bcrypt('123456')
		    ]);
         }

    }
}
